export const levelUpEventTableOption = {
    stripe: true, //条纹
    addBtn: false,
    viewBtn: true,
    searchIndex: 3,
    searchIcon: true,
    height: '68vh',
    selection: true, //多选
    reserveSelection: true, //翻页多选
    index: true, //加序号
    showSummary: true, //展开底部求和
    menuType: 'icon', // 操作栏改为图标展示
    loadingText: "数据加载中...",
    emptyText: '数据空空如也...',
    column: [
        {
            label: '事件名称', prop: 'eventName',
            rules: [{required: true, message: '请输入事件名称', trigger: 'blur'}]
        },
        {
            label: '事件独属的标签', prop: 'tag',
            rules: [{required: true, message: '请输入事件独属的标签', trigger: 'blur'}]
        },
        {
            label: '事件类型', prop: 'type',
            rules: [{required: true, message: '请输入事件类型', trigger: 'blur'}]
        },
        {
            label: '提供的经验数值', prop: 'provideExp',
            type: 'number', value: 0,
            rules: [{required: true, message: '请输入提供的经验数值', trigger: 'blur'}]
        },
    ]
}

export const levelUpEventFormOption = {
    labelWidth: 120,
    column: [
        {
            label: '事件名称', prop: 'eventName',
            rules: [{required: true, message: '请输入事件名称', trigger: 'blur'}]
        },
        {
            label: '事件独属的标签', prop: 'tag',
            rules: [{required: true, message: '请输入事件独属的标签', trigger: 'blur'}]
        },
        {
            label: '事件类型', prop: 'type',
            rules: [{required: true, message: '请输入事件类型', trigger: 'blur'}]
        },
        {
            label: '提供的经验数值', prop: 'provideExp',
            type: 'number', value: 0,
            rules: [{required: true, message: '请输入提供的经验数值', trigger: 'blur'}]
        },
    ]
}
